package com.conversationboard.model;

import java.util.ArrayList;
import java.util.List;

public enum Role {

    Anonymous, User, BoardAdmin, SiteAdmin;

    /*
     * Which boards is this user able to administrate; only relevant if the user
     * is a board admin, but not a site admin
     */

    private List<Integer> boardsToAdmin = new ArrayList<Integer>();


    public List<Integer> getBoardsToAdmin() {
        return boardsToAdmin;
    }


    public void addBoardToAdministrate(int boardId) {
        this.boardsToAdmin.add(boardId);
    }

}